projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07eb8d6
)
[path-bar] Only reset the children's styles if the children actually changed
author
Federico Mena Quintero
<federico@gnome.org>
Mon, 28 Nov 2011 17:49:35 +0000
(11:49 -0600)
committer
Federico Mena Quintero
<federico@gnome.org>
Tue, 29 Nov 2011 20:17:02 +0000
(14:17 -0600)
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/gtkpathbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpathbar.c
b/gtk/gtkpathbar.c
index 5d5ef2d201285a0f101b224c8bb364f0fcd98747..35dc8bf249aaa6634b044c4966685328d48071c9 100644
(file)
--- a/
gtk/gtkpathbar.c
+++ b/
gtk/gtkpathbar.c
@@
-1755,6
+1755,8
@@
gtk_path_bar_set_file_finish (struct SetFileInfo *info,
GtkWidget *button = BUTTON_DATA (l->data)->button;
gtk_container_add (GTK_CONTAINER (info->path_bar), button);
}
+
+ child_ordering_changed (info->path_bar);
}
else
{
@@
-1776,8
+1778,6
@@
gtk_path_bar_set_file_finish (struct SetFileInfo *info,
if (info->parent_file)
g_object_unref (info->parent_file);
- child_ordering_changed (info->path_bar);
-
g_free (info);
}